package cn.bdqn.bean;

import java.util.Date;
/**
 * 账单类
 * @author Administrator
 *
 */
public class Bill {
	private Integer  id           ;      //账单id
	private String  billCode     ;       //账单编号
	private String  productName  ;       //商品名称
	private String  productDesc  ;       //商品描述
	private String  productUnit  ;       //商品单位
	private Integer  productAmount;      //商品数量
	private Double  totalPrice   ;       //商品总价
	private Integer  isPay        ;       //是否支付0：未支付  1：支付
	private Date    createDate   ;        //创建日期
	private Integer  createBy     ;       //创建人id
	private Date    modifyDate   ;        //修改时间
	private Integer  modifyBy     ;       //修改人
	private Integer providerId    ;       //供应商id
	private String providerName    ;       //供应商名称
	
	
	public Bill() {
		super();
	}


	public Bill(String billCode, String productName, String productDesc,
			String productUnit, Integer productAmount, Double totalPrice,
			Integer isPay, Integer providerId) {
		super();
		this.billCode = billCode;
		this.productName = productName;
		this.productDesc = productDesc;
		this.productUnit = productUnit;
		this.productAmount = productAmount;
		this.totalPrice = totalPrice;
		this.isPay = isPay;
		this.providerId = providerId;
	}


	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	public String getBillCode() {
		return billCode;
	}


	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}


	public String getProductName() {
		return productName;
	}


	public void setProductName(String productName) {
		this.productName = productName;
	}


	public String getProductDesc() {
		return productDesc;
	}


	public void setProductDesc(String productDesc) {
		this.productDesc = productDesc;
	}


	public String getProductUnit() {
		return productUnit;
	}


	public void setProductUnit(String productUnit) {
		this.productUnit = productUnit;
	}


	public Integer getProductAmount() {
		return productAmount;
	}


	public void setProductAmount(Integer productAmount) {
		this.productAmount = productAmount;
	}


	public Double getTotalPrice() {
		return totalPrice;
	}


	public void setTotalPrice(Double totalPrice) {
		this.totalPrice = totalPrice;
	}


	public Integer getIsPay() {
		return isPay;
	}


	public void setIsPay(Integer isPay) {
		this.isPay = isPay;
	}


	public Date getCreateDate() {
		return createDate;
	}


	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}


	public Integer getCreateBy() {
		return createBy;
	}


	public void setCreateBy(Integer createBy) {
		this.createBy = createBy;
	}


	public Date getModifyDate() {
		return modifyDate;
	}


	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}


	public Integer getModifyBy() {
		return modifyBy;
	}


	public void setModifyBy(Integer modifyBy) {
		this.modifyBy = modifyBy;
	}


	public Integer getProviderId() {
		return providerId;
	}


	public void setProviderId(Integer providerId) {
		this.providerId = providerId;
	}


	public String getProviderName() {
		return providerName;
	}


	public void setProviderName(String providerName) {
		this.providerName = providerName;
	}


	@Override
	public String toString() {
		return "Bill [id=" + id + ", billCode=" + billCode + ", productName="
				+ productName + ", productDesc=" + productDesc
				+ ", productUnit=" + productUnit + ", productAmount="
				+ productAmount + ", totalPrice=" + totalPrice + ", isPay="
				+ isPay + ", createDate=" + createDate + ", createBy="
				+ createBy + ", modifyDate=" + modifyDate + ", modifyBy="
				+ modifyBy + ", providerId=" + providerId + "]";
	}
	
	
    
	
	
	
}
